package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGradeOrderMany;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员等级管理-成长值规则-N次下单-充值赠送表
 * @author : 
 * @email : 
 * @since : 2020-04-02 08:01:50
 * @version : v1.0.0
 */
@Mapper
public interface  MememberGradeOrderManyMapper {

    long insert(MememberGradeOrderMany mememberGradeOrderMany);

    long delete(Long id);

    long update(MememberGradeOrderMany mememberGradeOrderMany);

    MememberGradeOrderMany queryByPrimaryKey(Long id);

    List<MememberGradeOrderMany> query(MememberGradeOrderMany mememberGradeOrderMany);

    List<MememberGradeOrderMany> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberGradeOrderMany") MememberGradeOrderMany mememberGradeOrderMany);

    long queryPageCount(MememberGradeOrderMany mememberGradeOrderMany);
}